package com.zhengtoudai.ui.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/8/26 0026.
 */

public class DelegationNominis {

    /**
     * code : 200
     * message : 成功
     * result : {"pageInfo":{"totalNum":"1","numPerPage":"10","pageNum":"1"},"list":[{"tenderStatus":3,"transferMoney":0,"borrowTitle":"来来来测试了","totalAmount":1020.83,"etenderId":"JQ1IKk[j]CHNg[d]","annualInterestRate":5}]}
     */

    private int code;
    private String message;
    /**
     * pageInfo : {"totalNum":"1","numPerPage":"10","pageNum":"1"}
     * list : [{"tenderStatus":3,"transferMoney":0,"borrowTitle":"来来来测试了","totalAmount":1020.83,"etenderId":"JQ1IKk[j]CHNg[d]","annualInterestRate":5}]
     */

    private ResultEntity result;

    public void setCode(int code) {
        this.code = code;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

    public ResultEntity getResult() {
        return result;
    }

    public static class ResultEntity {
        /**
         * totalNum : 1
         * numPerPage : 10
         * pageNum : 1
         */

        private PageInfoEntity pageInfo;
        /**
         * tenderStatus : 3
         * transferMoney : 0
         * borrowTitle : 来来来测试了
         * totalAmount : 1020.83
         * etenderId : JQ1IKk[j]CHNg[d]
         * annualInterestRate : 5.0
         */

        private List<ListEntity> list;

        public void setPageInfo(PageInfoEntity pageInfo) {
            this.pageInfo = pageInfo;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public PageInfoEntity getPageInfo() {
            return pageInfo;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class PageInfoEntity {
            private int totalNum;
            private int numPerPage;
            private int pageNum;

            public void setTotalNum(int totalNum) {
                this.totalNum = totalNum;
            }

            public void setNumPerPage(int numPerPage) {
                this.numPerPage = numPerPage;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getTotalNum() {
                return totalNum;
            }

            public int getNumPerPage() {
                return numPerPage;
            }

            public int getPageNum() {
                return pageNum;
            }
        }

        public static class ListEntity {
            private int tenderStatus;
            private int transferStatus;
            private double transferMoney;
            private String borrowTitle;
            private double totalAmount;
            private String etenderId;
            private double annualInterestRate;

            public int getTransferStatus() {
                return transferStatus;
            }

            public void setTransferStatus(int transferStatus) {
                this.transferStatus = transferStatus;
            }

            public void setTenderStatus(int tenderStatus) {
                this.tenderStatus = tenderStatus;
            }

            public void setTransferMoney(double transferMoney) {
                this.transferMoney = transferMoney;
            }

            public void setBorrowTitle(String borrowTitle) {
                this.borrowTitle = borrowTitle;
            }

            public void setTotalAmount(double totalAmount) {
                this.totalAmount = totalAmount;
            }

            public void setEtenderId(String etenderId) {
                this.etenderId = etenderId;
            }

            public void setAnnualInterestRate(double annualInterestRate) {
                this.annualInterestRate = annualInterestRate;
            }

            public int getTenderStatus() {
                return tenderStatus;
            }

            public double getTransferMoney() {
                return transferMoney;
            }

            public String getBorrowTitle() {
                return borrowTitle;
            }

            public double getTotalAmount() {
                return totalAmount;
            }

            public String getEtenderId() {
                return etenderId;
            }

            public double getAnnualInterestRate() {
                return annualInterestRate;
            }
        }
    }
}
